View Javadoc
1 package jrre.instructionset.pop.localvariable; 2 3 import jrre.*; 4 5 public class IStore_1 extends jrre.instructionset.Instruction { 6 7 public IStore_1(){ 8 9 name = "istore_1"; 10 description = "foo foo moo poo"; 11 length = 0; 12 } 13 14 /*** 15 * Executes the <strong><code>istore</code></strong> instruction. 16 * 17 */ 18 public void execute(){ 19 20 Stack.setLocalVariable(1, Stack.popOperand()); 21 22 } 23 24 public String toString(){ 25 StringBuffer toReturn = new StringBuffer(); 26 toReturn.append("istore_1"); 27 return toReturn.toString(); 28 } 29 }

This page was automatically generated by Maven